<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Canvas绘制时钟</title>
	<style>
		body{
			margin: 0;
			width: 100vw;
			height: 100vh;
			display: flex;
			justify-content: center;
			align-items: center;
		}
		div{
			text-align: center;
		}
		#clock{
			/*border:1px solid #ccc;*/
		}
	</style>
</head>
<body>
	<div>
		<h1>Canvas绘制时钟</h1>
		<canvas id="clock" width="400" height="400">你的浏览器不是兼容canvas</canvas>
	</div>
	<script src="clock.js"></script>
</body>
</html>